package com.bjwl.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: czc
 * @Date:Create：in 2020/4/9 14:29
 * @Description:客户信息表
 * @Modified By：
 * @Version: 1.0
 */
@Component
public class Customer implements Serializable {

    private Integer cid;       //分店客户卡号
    private String cname;      //客户姓名
    private String cphone;    //客户电话
    private Integer conmoney;   //收费金额
    private String caddress;   //客户地址
    private Date ctime;        //服务时间
    private String cremark;    //客户备注
    private Integer cglass;    //是否擦玻璃（0否1是）
    private Integer cds;       //单双（0单1双）
    private Integer cprotect;  //是否有防护网 （0否1是）
    private String worksex;    //工作人员性别
    private Integer did;       //收入部门
    private String servicesource;  //业务来源
    private String servicetype;    //业务类型
    private String serviceclass;   //业务分类
    private String businesspersonne; //业务人员

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCphone() {
        return cphone;
    }

    public void setCphone(String cphone) {
        this.cphone = cphone;
    }

    public Integer getConmoney() {
        return conmoney;
    }

    public void setConmoney(Integer conmoney) {
        this.conmoney = conmoney;
    }

    public String getCaddress() {
        return caddress;
    }

    public void setCaddress(String caddress) {
        this.caddress = caddress;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getCremark() {
        return cremark;
    }

    public void setCremark(String cremark) {
        this.cremark = cremark;
    }

    public Integer getCglass() {
        return cglass;
    }

    public void setCglass(Integer cglass) {
        this.cglass = cglass;
    }

    public Integer getCds() {
        return cds;
    }

    public void setCds(Integer cds) {
        this.cds = cds;
    }

    public Integer getCprotect() {
        return cprotect;
    }

    public void setCprotect(Integer cprotect) {
        this.cprotect = cprotect;
    }

    public String getWorksex() {
        return worksex;
    }

    public void setWorksex(String worksex) {
        this.worksex = worksex;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getServicesource() {
        return servicesource;
    }

    public void setServicesource(String servicesource) {
        this.servicesource = servicesource;
    }

    public String getServicetype() {
        return servicetype;
    }

    public void setServicetype(String servicetype) {
        this.servicetype = servicetype;
    }

    public String getServiceclass() {
        return serviceclass;
    }

    public void setServiceclass(String serviceclass) {
        this.serviceclass = serviceclass;
    }

    public String getBusinesspersonne() {
        return businesspersonne;
    }

    public void setBusinesspersonne(String businesspersonne) {
        this.businesspersonne = businesspersonne;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", cphone=" + cphone +
                ", conmoney=" + conmoney +
                ", caddress='" + caddress + '\'' +
                ", ctime=" + ctime +
                ", cremark='" + cremark + '\'' +
                ", cglass=" + cglass +
                ", cds=" + cds +
                ", cprotect=" + cprotect +
                ", worksex='" + worksex + '\'' +
                ", did=" + did +
                ", servicesource='" + servicesource + '\'' +
                ", servicetype='" + servicetype + '\'' +
                ", serviceclass='" + serviceclass + '\'' +
                ", businesspersonne='" + businesspersonne + '\'' +
                '}';
    }
}
